package com.mingmen.supplier.model;

import java.util.List;

public class ShopManageModel {


    /**
     * code : 0
     * message : 操作成功
     * time : 2020-09-03 16:34:28
     * data : [{"commodityId":1300607251522002944,"commodityName":"豆芽","picture":"/uploadimg/2020-09-01/673e671b-5084-4415-87bf-376e16f409ec.jpeg","description":"豆瓣评分不够强大、一","mothSales":0,"spec":"","price":3,"inventory":5000,"state":"2","refuseReason":"","categoryId":101,"categoryName":"叶菜类"},{"commodityId":1300614985256542208,"commodityName":"豆瓣","picture":"/uploadimg/2020-09-01/de3af0fb-4da2-43e9-a3ad-6f4cbdb86c88.jpeg","description":"你们要去看什么我的手机我是你最喜我们","mothSales":0,"spec":"","price":5,"inventory":900,"state":"2","refuseReason":"","categoryId":101,"categoryName":"叶菜类"},{"commodityId":1300668870738321408,"commodityName":"豆瓣酱","picture":"/uploadimg/2020-09-01/4b6ebd59-5776-48d7-97c0-11ff87416494.jpeg","description":"豆瓣影评也可以理解成一首","mothSales":0,"spec":"500g","price":0,"inventory":0,"state":"4","refuseReason":"","categoryId":101,"categoryName":"叶菜类"},{"commodityId":1294151127608606720,"commodityName":"菠菜","picture":"/uploadimg/2020-08-14/5f3c0f70-ccf1-4ad7-ac9b-55f1803e81f3.jpeg","description":"菠菜","mothSales":0,"spec":"1","price":5,"inventory":1000,"state":"2","refuseReason":"","categoryId":101,"categoryName":"叶菜类"},{"commodityId":1294151413366538240,"commodityName":"番茄","picture":"/uploadimg/2020-08-14/0c1a1680-c39a-4868-bd5c-d3d876c6825b.jpeg","description":"番茄","mothSales":0,"spec":"1","price":4,"inventory":10000,"state":"2","refuseReason":"","categoryId":101,"categoryName":"叶菜类"},{"commodityId":1294151708419047424,"commodityName":"土豆","picture":"/uploadimg/2020-08-14/c221c251-d99c-42dd-8814-372577d0d3d7.jpeg","description":"土豆","mothSales":0,"spec":"1","price":0.5,"inventory":10000,"state":"2","refuseReason":"","categoryId":101,"categoryName":"叶菜类"},{"commodityId":1294152120790433792,"commodityName":"冷鲜鸡肉","picture":"/uploadimg/2020-08-14/704bf3d9-b719-4a54-8ccd-8c0d27c47608.jpeg","description":"鸡肉","mothSales":0,"spec":"1","price":8,"inventory":870,"state":"2","refuseReason":"","categoryId":3,"categoryName":"肉禽虫"},{"commodityId":1294152576866467840,"commodityName":"鸡蛋","picture":"/uploadimg/2020-08-14/681bd224-2fc3-48d6-b9d9-9d280e418005.jpeg","description":"鸡蛋","mothSales":0,"spec":"1","price":19,"inventory":1000,"state":"2","refuseReason":"","categoryId":6,"categoryName":"鲜蛋豆品"}]
     */

    private int code;
    private String message;
    private String time;
    private List<DataBean> data;

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    int totalPage;
    public int getTotalPage() {
        return totalPage;
    }
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * commodityId : 1300607251522002944
         * commodityName : 豆芽
         * picture : /uploadimg/2020-09-01/673e671b-5084-4415-87bf-376e16f409ec.jpeg
         * description : 豆瓣评分不够强大、一
         * mothSales : 0.0
         * spec :
         * price : 3.0
         * inventory : 5000.0
         * state : 2
         * refuseReason :
         * categoryId : 101
         * categoryName : 叶菜类
         */

        private String commodityId;
        private String commodityName;
        private String picture;
        private String description;
        private double mothSales;
        private String spec;
        private double price;
        private double inventory;
        private String state;
        private String refuseReason;
        private String categoryId;
        private String categoryName;

        public String getCommodityId() {
            return commodityId;
        }

        public void setCommodityId(String commodityId) {
            this.commodityId = commodityId;
        }

        public String getCommodityName() {
            return commodityName;
        }

        public void setCommodityName(String commodityName) {
            this.commodityName = commodityName;
        }

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public double getMothSales() {
            return mothSales;
        }

        public void setMothSales(double mothSales) {
            this.mothSales = mothSales;
        }

        public String getSpec() {
            return spec;
        }

        public void setSpec(String spec) {
            this.spec = spec;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public double getInventory() {
            return inventory;
        }

        public void setInventory(double inventory) {
            this.inventory = inventory;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getRefuseReason() {
            return refuseReason;
        }

        public void setRefuseReason(String refuseReason) {
            this.refuseReason = refuseReason;
        }

        public String getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(String categoryId) {
            this.categoryId = categoryId;
        }

        public String getCategoryName() {
            return categoryName;
        }

        public void setCategoryName(String categoryName) {
            this.categoryName = categoryName;
        }
    }
}
